class CreateMatches < ActiveRecord::Migration
  def self.up
    create_table :matches do |t|
      t.references :team_local
      t.references :team_visitor
      t.datetime :start
      t.references :stadium
      t.integer :local_goals
      t.integer :visitos_goals
      t.string :serie  

      t.timestamps
    end
  end

  def self.down
    drop_table :matches
  end
end
